package com.zkthink.ceres.file.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName ExcelTemplateSaveDTO
 * @Description: ExcelTemplateSaveDTO
 * @Author ck
 * @Date 2021/1/22
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ExcelTemplateSaveDTO", description = "excel模板")
public class ExcelTemplateSaveDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称")
    private String templateName;

    /**
     * 文件id
     */
    @ApiModelProperty(value = "文件id")
    private Long fileId;

    /**
     * 原始文件名
     */
    @ApiModelProperty(value = "原始文件名")
    private String submittedFileName;

    /**
     * 文件访问链接
     * 需要通过nginx配置路由，才能访问
     */
    @ApiModelProperty(value = "文件访问链接")
    private String url;
}